package drds.global_transaction.api.message_codec;

import io.netty.buffer.ByteBuf;

public interface IMessageCodec
{
	boolean decode(ByteBuf byteBuf);

	byte[] encode();

	short getTypeCode();
}
